package com.annotation;

import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;

import org.springframework.core.Conventions;



public class ValidationsTest{

	@Validations( 
			requiredStrings={ 
			 @RequiredStringValidator(fieldName="h",message="字段不能为空!") 
			}
	) 
	public void test1(){
		
	}
	
	public static void main(String [] arg1){
		System.out.print(Conventions.getVariableName(5555));
		System.out.print(Conventions.getVariableName(2222));
	}
}
